package com.xiaoyu.lanling.feature.feedback.datamodels

import com.xiaoyu.lanling.feature.feedback.FeedbackViewHolderManager.ITEM_VIEW_TYPE_PUBLISH_MEDIA_IMAGE
import com.xiaoyu.lanling.media.image.ImageLoadParam

class FeedbackMediaImageItem(position: Int, path: String) : FeedbackMediaCommonItem(position, path) {

    val imageLoadParam: ImageLoadParam = ImageLoadParam.newBuilder().setUrl(path).setSizeInDP(72).setCornersRadiusInDP(8F).build()

    override fun getViewType(): Int {
        return ITEM_VIEW_TYPE_PUBLISH_MEDIA_IMAGE
    }
}
